package com.hoyue.dao;

import com.hoyue.bean.Department;
import com.hoyue.bean.Introduction;
import com.hoyue.utils.Page;

import java.sql.SQLException;
import java.util.List;

public interface DepartmentDao {
    //更改数据
    public void updateDepartment(Department department) throws SQLException;

    //添加数据
    public void addDepartment(Department department) throws SQLException;

    //删除数据
    public void deleteDepartment(int id) throws SQLException;

    //显示所有数据
    public List<Department> getAllList() throws SQLException;

    //更改图片路径
    String getAddressById(int id) throws SQLException;

}
